pipewire: prevent starting in root session#220
Conversation
If root session is started early and pipewire gets started as part of it, it may connect to the audiovm earlier than the user's instance, effectively stealing the connection. Upstream already has ConditionUser=!root in relevant pulseaudio units, but not in pipewire ones. Add similar condition to pipewire.service unit. Fixes QubesOS/qubes-issues#9619
73acec5 to
7be8161
Compare
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2024121004-4.3&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2024111705-4.3&flavor=update
Failed tests4 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/119126#dependencies 2 fixed
Unstable testsDetails
|
|
Should there be a similar check for WirePlumber? |
|
wireplumber has BindsTo=pipewire, so it should be implicit already; but even if not, just wireplumber is harmless. |
If root session is started early and pipewire gets started as part of
it, it may connect to the audiovm earlier than the user's instance,
effectively stealing the connection. Upstream already has
ConditionUser=!root in relevant pulseaudio units, but not in pipewire
ones. Add similar condition to pipewire.service unit.
Fixes QubesOS/qubes-issues#9619